<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>爱你案例</title>
		<script type="text/javascript">
			var str = prompt('你爱我吗？');
			while(str != '我爱你') {
				str = prompt('你爱我吗?');
			}
			alert('我也爱你')
		</script>
	</head>
	<body>
	</body>
</html>
